"""
WSGI config for vote project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/

项目运行在WSGI兼容Web服务器上的入口文件

WSGI全称是Web服务器网关接口，维基百科上给出的解释是“为Python语言定义的[Web服务器]和[Web应用程序]或框架之间的一种简单而通用的接口”
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'vote.settings')

application = get_wsgi_application()
